package com.carrot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.carrot.common.core.domain.entity.SysPointHistoryMap;
import com.carrot.common.core.domain.entity.SysPointStandardField;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 场站表 数据层
 *
 * @author liuhongzhen
 */
@Mapper
public interface SysPointHistoryMapMapper extends BaseMapper<SysPointHistoryMap> {

    /**
     * 获取标准字段
     *
     * @param equipmentType 设备类型
     * @param description   描述
     */
    List<SysPointStandardField> getStandardField(
            @Param("equipmentType") String equipmentType,
            @Param("description") String description
    );
}
